package day04;

import java.util.*;


public class Unique3 {
    static Scanner cin = new Scanner(System.in);

    public static void main(String[] args) {
        Set<Integer> a = new TreeSet<Integer>();
        while (cin.hasNext()) {
            int cur = cin.nextInt();

            a.add(cur);
        }

        System.out.println(a);
    }

}